<?php
namespace app\api\controller;

use app\api\model\GoodsModel;
use app\api\model\MemberModel;
use app\api\model\VipModel;
use think\Controller;
use think\Request;


class Vip extends Api
{
    protected $noNeedLogin = ['getVipList'];

    public function getVipList(){
        $data = (new VipModel())->getVipList($this->request_array);
        $data['code'] == 200 ? $this->success($data['msg'],$data['data']) : $this->error($data['msg']);
    }



    public function getVipReload(){
        $data = (new VipModel())->getVipReload($this->request_array);
        $data['code'] == 200 ? $this->success($data['msg'],$data['data']) : $this->error($data['msg']);
    }
}
